FROM airbyte/integration-base-singer:dev

RUN apt-get update && apt-get install -y \
    jq \
    && rm -rf /var/lib/apt/lists/*

ENV CODE_PATH="source_exchangeratesapi_singer"
ENV AIRBYTE_IMPL_MODULE="source_exchangeratesapi_singer"
ENV AIRBYTE_IMPL_PATH="SourceExchangeRatesApiSinger"

LABEL io.airbyte.version=0.1.9
LABEL io.airbyte.name=airbyte/source-exchangeratesapi-singer

WORKDIR /airbyte/integration_code
COPY $CODE_PATH ./$CODE_PATH
COPY setup.py ./
RUN pip install .

WORKDIR /airbyte
